package com.flycat.controller;

import com.alibaba.fastjson.JSON;
import com.flycat.common.util.SessionUtils;
import com.flycat.core.Result;
import com.flycat.core.ResultGenerator;
import com.flycat.dao.po.MerchantInfo;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

import javax.servlet.http.HttpSession;

/**
 * @Author yalei.chen
 * @Date 2017/10/21
 * @Since JDK 1.8
 */
@Controller
public class IndexController {


    @GetMapping("/admin")
    public String admin(HttpSession session) {
        return "managePage/dist/index";
    }

    @GetMapping("/supplier")
    public String supplier(HttpSession session) {
        return "managePage/dist/index";
    }

    @GetMapping("/distributor")
    public String distributor(HttpSession session) {
        return "managePage/dist/index";
    }
}
